<div class="right-box">
	<div class="same-floor">
		<h3>说明</h3>
		<p> 根据某个广告id获取广告信息</p>
	</div>
	<div class="same-floor">
		<h3>API</h3>
		<p>/api/mobile/adv/get-one-adv.do</p>
		<div class="need-parameter">
			<h4><span class="w100">参数</span><span class="w100">说明</span><span class="w380">备注</span></h4>
			<p><span class="w100 important">advid</span><span class="w100">广告id</span><span class="w380">无</span></p>
		</div>
	</div>
	<div class="same-floor">
		<h3>示例代码</h3>
		<div class="sample-code">
			<b>		var url = getFullUrl('/api/mobile/adv/get-one-adv.do');
			<b>		var options = {
			<b><i></i>			url : url,
			<b><i></i>			data : {
			<b><i></i>	<i></i>			advid : 3
			<b><i></i>			},
			<b><i></i>			success : function(data) {
			<b><i></i><i></i>				if (data.result == 1) {
			<b><i></i><i></i><i></i>					alert(JSON.stringify(data));
			<b><i></i><i></i>				} else {
			<b><i></i><i></i><i></i>					e$.alert("获取资源失败，请稍后重试。");
			<b><i></i><i></i>				}
			<b><i></i>			}
			<b>		};
			<b>		e$.ajax(options);
		</div>
		<span class="result-intro">
			<em>调用结果：</em>
			<h5>
				{
				    "result": 1,
				    "message": null,
				    "data": {
				        "aid": 3,
				        "acid": 1,
				        "atype": null,
				        "begintime": 1328025600000,
				        "endtime": 1582041600000,
				        "isclose": 0,
				        "attachment": null,
				        "atturl": "http://static.b2b2cv2.javamall.com.cn/attachment/adv/201504291045169924.jpg",
				        "url": "/search-cat-87.html",
				        "aname": "世界很大带上装备去看看",
				        "clickcount": 0,
				        "disabled": "false",
				        "linkman": "",
				        "company": "",
				        "contact": "",
				        "cname": null,
				        "httpAttUrl": "http://static.b2b2cv2.javamall.com.cn/attachment/adv/201504291045169924.jpg"
				    }
				}
			</h5>
		</span>	
	</div>

</div>